<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd"
    >
<html lang="en">
<head>
    <title>Console Fix test</title>
    <style>
        body{
            font-family:sans-serif;
        }
    </style>
    <script src="../debugging/consoleFix.js"></script>
    <script>
        var runTest = function(){
            var e = new Error("This is a dummy error object");
            console.log("Test LOG", "Test", "running", "arguments", "together");
            console.warn("Test WARN", {a:1});
            console.error("Test ERROR", e);
            console.info("Test INFO", 1, 2, 3);
            console.debug("Test DEBUG", 1, 2, 3);
            console.time("foo time");
            console.assert(true == true);
            console.count();
            console.group("myGroup");
            console.log("group me 1");
            console.groupEnd();
            console.groupCollapsed();
            console.log("group log");
            console.log("group log");
            console.log("group log");
            console.groupEnd();

            console.timeEnd("foo time");
            console.trace();
        }
        runTest();
    </script>
</head>
<body>
    <h1>Console Fix test</h1>
    <p>
        To see this test work, a console should be open. To turn the logs on and off for this page, click the following link:
    </p>
    <p id="link">&nbsp;</p>
    <script>
        window.debug = /debug/.test(document.location.href);
        var link = window.debug ? "consoleFix.html" : "consoleFix.html?debug=true";
        var txt = window.debug ? "Hide Logs" : "Show Logs";
        document.getElementById("link").innerHTML = '<a href="'+link+'">'+txt+'</a>';
    </script>
    <p>
        Console Fix is designed to:
    </p>
    <ul>
        <li>Clears IE8 logs on refresh</li>
        <li>Adds empty methods for all Firebug commands not supported in IE</li>
        <li>Fixes lack of space between log arguments in IE</li>
        <li>Limits the number of messages logged in IE to prevent crash</li>
        <li>Nullifies all console methods for deployment</li>
        <li>Nullifies console methods if they don't exist (<code>trace, groupCollapsed</code>)</li>
        <li>Fixes the multi-argument problem in iOS</li>
    </ul>
    
</body>
</html>
